# -*- coding: utf-8; mode: snippet -*-
# name: random
# key: random
# contributor: Chen Bin <chenbin DOT sh AT gmail>
# --
// Returns a random integer from 0 to 10:
Math.floor(Math.random() * 11);